<?php
namespace Home\Controller;
class NotifyController extends CommonController 
{
	public function GetNotify()
	{
		// 接受流信息 json_decode编码
        $body = json_decode(file_get_contents('php://input'),true);
        // 获取所需参数 验证信息修改对应数据
        $data['url'] = 'http://audio.heardtech.com/'.$body['items'][0]['key'];
        $mp3 = 'http://audio.heardtech.com/'.$body['inputKey'];
        M('zsmedia')->where(array('url2'=>$mp3))->save($data);
	}

}